Resource URL: /platform/<<version=3>>/local/cluster/nodes/<LNN>/partitions

    Overview: This resource applies the standard collection pattern to
              individual nodes.  LNN in the resource path is the node lnn ID.

     Methods: GET

********************************************************************************

Method GET: Retrieve node partition information.

       URL: GET /platform/<<version=3>>/local/cluster/nodes/<LNN>/partitions

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "properties": {
    "nodes": {
      "items": {
        "type": "object", 
        "description": "Node partition information.", 
        "properties": {
          "count": {
            "type": "integer", 
            "description": "Count of how many partitions are included."
          }, 
          "lnn": {
            "type": "integer", 
            "description": "Logical Node Number (LNN) of this node."
          }, 
          "id": {
            "type": "integer", 
            "description": "Node ID (Device Number) of this node."
          }, 
          "partitions": {
            "items": {
              "type": "object", 
              "description": "Node partition information.", 
              "properties": {
                "mount_point": {
                  "type": "string", 
                  "description": "Directory on which this partition is mounted."
                }, 
                "capacity": {
                  "type": "integer", 
                  "description": "Total blocks on this file system partition."
                }, 
                "component_devices": {
                  "type": "string", 
                  "description": "Comma separated list of devices used for this file system partition."
                }, 
                "statfs": {
                  "type": "object", 
                  "description": "System partition details as provided by statfs(2).", 
                  "properties": {
                    "f_type": {
                      "type": "integer", 
                      "description": "Type of filesystem."
                    }, 
                    "f_bsize": {
                      "type": "integer", 
                      "description": "Filesystem fragment size; block size in OneFS."
                    }, 
                    "f_bavail": {
                      "type": "integer", 
                      "description": "Free blocks available to non-superuser on this partition."
                    }, 
                    "f_owner": {
                      "type": "integer", 
                      "description": "UID of user that mounted the filesystem."
                    }, 
                    "f_iosize": {
                      "type": "integer", 
                      "description": "Optimal transfer block size."
                    }, 
                    "f_files": {
                      "type": "integer", 
                      "description": "Total file nodes in filesystem."
                    }, 
                    "f_mntfromname": {
                      "type": "string", 
                      "description": "Names of devices this partition is mounted from."
                    }, 
                    "f_blocks": {
                      "type": "integer", 
                      "description": "Total data blocks on this partition."
                    }, 
                    "f_ffree": {
                      "type": "integer", 
                      "description": "Free file nodes avail to non-superuser."
                    }, 
                    "f_bfree": {
                      "type": "integer", 
                      "description": "Free blocks on this partition."
                    }, 
                    "f_mntonname": {
                      "type": "string", 
                      "description": "Directory this partition is mounted to."
                    }, 
                    "f_namemax": {
                      "type": "integer", 
                      "description": "Maximum filename length."
                    }, 
                    "f_version": {
                      "type": "integer", 
                      "description": "statfs() structure version number."
                    }, 
                    "f_flags": {
                      "type": "integer", 
                      "description": "Mount exported flags."
                    }, 
                    "f_fstypename": {
                      "type": "string", 
                      "description": "File system type name."
                    }
                  }
                }, 
                "used": {
                  "type": "integer", 
                  "description": "Used blocks on this file system partition."
                }, 
                "percent_used": {
                  "type": "string", 
                  "description": "Used blocks on this file system partition, expressed as a percentage."
                }, 
                "block_size": {
                  "type": "integer", 
                  "description": "The block size used for the reported partition information."
                }
              }
            }, 
            "type": "array", 
            "description": "Partition information."
          }
        }
      }, 
      "type": "array"
    }, 
    "total": {
      "type": "integer", 
      "description": "Total number of items available."
    }
  }
}
